package com.woniuxy.cloud.carl.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.cloud.carl.user.infra.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.cloud.carl.user.service.param.GetUserByConditionServiceParam;
import com.woniuxy.cloud.carl.user.service.param.LoginServiceParam;
import com.woniuxy.cloud.carl.user.service.param.RegisterServiceParam;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author fjx
 * @since 2023-07-19
 */
public interface UserService extends IService<User> {

    Long login(LoginServiceParam serviceParam);

    void register(RegisterServiceParam param);


    Page<User> getByCondition(GetUserByConditionServiceParam serviceParam);
}
